package com.yunxi.vehicle.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.vehicle.pojo.VehicleCertApproveVO;
import com.yunxi.vehicle.pojo.VehicleCertVO;
import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 * 合格证信息 服务类
 * </p>
 *
 * @author 
 * @since 2019-05-22
 */
public interface VehicleCertDubboService {

    VehicleCertVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(VehicleCertVO vehicleCertVO) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    PageInfo<VehicleCertVO> findPageByVO(VehicleCertVO vehicleCertVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    PageInfo<VehicleCertVO> managePage(VehicleCertVO vehicleCertVO, Integer pageNum, Integer pageSize) throws Exception;

    VehicleCertVO getByVin(String vin);

    void removeByList(List<VehicleCertVO> vehicleCertVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    void approve(VehicleCertApproveVO vehicleCertApproveVO)throws Exception;

    void transport(VehicleCertApproveVO vehicleCertApproveVO)throws Exception;
}
